Skip to content

Conversation

@nbanb
Copy link

@nbanb nbanb commented May 2, 2025

Log SSH shared secret for external protocol analysis via SSHKEYLOGFILE

When SSHKEYLOGFILE is set, shared secrets used in key exchange (e.g., during
initial or rekey events) are logged alongside the KEXINIT cookie. This supports
offline decryption tools like Wireshark / Tshark for debugging and protocol analysis.

See README.keylog for details

WARNING: This exposes session secrets on client side.

nbanba and others added 11 commits April 29, 2025 10:40
When SSHKEYLOGFILE is set, shared secrets used in key exchange (e.g., during
initial or rekey events) are logged alongside the KEXINIT cookie. This supports
offline decryption tools like Wireshark for debugging and protocol analysis.

WARNING: Do not enable in production environments. This exposes session secrets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant